From: Lars Ingebrigtsen Date: Thu, 21 Oct 2021 12:36:50 +0000 (+0200) Subject: Fix bold/black in w32_to_fc_weight X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3291^2~868 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6;p=emacs.git Fix bold/black in w32_to_fc_weight * src/w32font.c (w32_to_fc_weight): Use symbols. --- diff --git a/src/w32font.c b/src/w32font.c index 885daf930b0..4ceb4302cee 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -2000,7 +2000,7 @@ w32_encode_weight (int n) static Lisp_Object w32_to_fc_weight (int n) { - if (n >= FW_HEAVY) return Qbold; + if (n >= FW_HEAVY) return Qblack; if (n >= FW_EXTRABOLD) return Qextra_bold; if (n >= FW_BOLD) return Qbold; if (n >= FW_SEMIBOLD) return intern ("demibold");